import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// 全局引入重置样式
import './assets/css/reset.css'
// 注册全局组件
import comm from './comm'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
// 注册全局组件
for(let key in comm){
    app.component(key,comm[key])
}
app.use(store)
app.use(router)
app.mount('#app')
